/*
 */

package jas.rpc.server.cluster;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Indicates that a method ONLY reads from the object state, and does not
 * create or modify anything.
 * NOTE: You may NOT create remote objects in a ReadOnly method.
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ReadOnly {
}
